package top.tangyh.lamp.care.vo.result;

import cn.hutool.core.map.MapUtil;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import top.tangyh.basic.base.entity.Entity;
import top.tangyh.basic.interfaces.echo.EchoVO;
import java.io.Serializable;

/**
 * <p>
 * 表单查询方法返回值VO
 * 病人信息表
 * </p>
 *
 * @author zqb
 * @date 2024-07-12 16:37:12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@Schema(description = "病人信息")
public class BPatientResultVO extends Entity<Long> implements Serializable, EchoVO {

    private static final long serialVersionUID = 1L;

    private Map<String, Object> echoMap = MapUtil.newHashMap();

    @Schema(description = "主键")
    private Long id;

    /**
    * 姓名
    */
    @Schema(description = "姓名")
    private String patientName;
    /**
    * 病人识别号对应his唯一病人编号
    */
    @Schema(description = "病人识别号对应his唯一病人编号")
    private String patientIdent;
    /**
    * 病区属性
    */
    @Schema(description = "病区属性")
    private String wardIdent;
    /**
    * 床号
    */
    @Schema(description = "床号")
    private String bedNumber;
    /**
    * 住院号
    */
    @Schema(description = "住院号")
    private String hospitalNumber;
    /**
    * 0其他1男2女
    */
    @Schema(description = "0其他1男2女")
    private Integer gender;
    /**
    * 年龄
    */
    @Schema(description = "年龄")
    private Integer age;
    /**
    * 血型
    */
    @Schema(description = "血型")
    private String bloodType;
    /**
    * 手机号
    */
    @Schema(description = "手机号")
    private String phone;
    /**
    * 地址
    */
    @Schema(description = "地址")
    private String address;
    /**
    * 联系人姓名
    */
    @Schema(description = "联系人姓名")
    private String contacts;
    /**
    * 联系人号码
    */
    @Schema(description = "联系人号码")
    private String contactsPhone;
    /**
    * 联系人关系
    */
    @Schema(description = "联系人关系")
    private String relation;
    /**
    * 当前科室id
    */
    @Schema(description = "当前科室id")
    private String deptIdent;
    /**
    * 身份证号
    */
    @Schema(description = "身份证号")
    private String identCard;
    /**
    * 医保卡号
    */
    @Schema(description = "医保卡号")
    private String healthCard;
    /**
    * 是否离院
    */
    @Schema(description = "是否离院")
    private Integer isLeave;
    /**
    * his是否同步过第一次了
    */
    @Schema(description = "his是否同步过第一次了")
    private Integer isSync;
    /**
    * 是否转科过
    */
    @Schema(description = "是否转科过")
    private Integer isZk;
    /**
    * 是否在科
    */
    @Schema(description = "是否在科")
    private Integer isZaike;

    /**
    * 是否删除
    */
    @Schema(description = "是否删除")
    private Integer isDeleted;
    /**
    * 出生日期
    */
    @Schema(description = "出生日期")
    private LocalDateTime birthday;
    /**
    * 护理等级
    */
    @Schema(description = "护理等级")
    private String nursingLevel;
    /**
    * 就诊卡号
    */
    @Schema(description = "就诊卡号")
    private String jzkh;
    /**
    * 医保卡号
    */
    @Schema(description = "医保卡号")
    private String yiBaoCard;
    /**
    * 电子健康卡号
    */
    @Schema(description = "电子健康卡号")
    private String dzHealthCard;
    /**
    * 诊断id
    */
    @Schema(description = "诊断id")
    private Long diagnosisId;

    @Schema(description = "该患者已绑定的设备列表")
    private List<PatientBindOutputVO> patientBindOutputVO;

    @Schema(description = "体重")
    private String weight;

    @Schema(description = "身高")
    private String height;
}
